createTeam

  • function
 

Sets properties on the [bitballs/components/tournament/details.ViewModel.prototype.team team] model then persists it to the server. Once the "save" request resolves a new Team instance is created and assigned to [bitballs/components/tournament/details.ViewModel.prototype.team team].

details.createTeam(ev)

Sets properties on the [bitballs/components/tournament/details.ViewModel.prototype.team team] model then persists it to the server. Once the "save" request resolves a new Team instance is created and assigned to [bitballs/components/tournament/details.ViewModel.prototype.team team].

Parameters

  1. ev {Event}Optional

    A DOM Level 2 event that preventDefault will be called on.